﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Xyz.Web.Reservation.Areas.Auth.Models.AuthModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Login
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Log In</h1>
    <br />
    <% using (Html.BeginForm())
       { %>
    <%= Html.ValidationSummary(true)%>
    <br />
    <div>
        <div>
            <%= Html.LabelFor(m => m.UserName) %>
        </div>
        <div>
            <%= Html.TextBoxFor(m => m.UserName, new{ @class = "text-box" })%>
        </div>
        <div class="clear">
        </div>
        <div style="padding-top: 10px;">
            <%= Html.LabelFor(m => m.Password) %>
        </div>
        <div>
            <%= Html.PasswordFor(m => m.Password, new{ @class = "text-box" })%>
        </div>
        <div class="clear">
        </div>
        <br />
        <div>
            <input type="submit" value="Log In" class="yellow_button" />
        </div>
    </div>
    <% } %>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#UserName').focus();
        });
    </script>
</asp:Content>
